﻿<Window x:Class="TorchView.Shell.AboutView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" SizeToContent="Height" Width="300" Title="About TorchView" WindowStartupLocation="CenterOwner" Style="{StaticResource DialogWindowStyle}">
  <Grid Margin="7">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <FlowDocumentScrollViewer Background="{x:Null}" BorderThickness="0" IsToolBarVisible="False" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden">
      <FlowDocument Foreground="{StaticResource UnhighlightedTextBrush}">
        <Paragraph>TorchView application</Paragraph>
        <Paragraph>Version:
          <Run Text="{Binding Path=Version, Mode=OneTime}" />
        </Paragraph>
        <Paragraph>
          <Hyperlink NavigateUri="http://torchview.codeplex.com/" RequestNavigate="Hyperlink_RequestNavigate">http://torchview.codeplex.com/</Hyperlink>
        </Paragraph>
      </FlowDocument>
    </FlowDocumentScrollViewer >

    <Button Grid.Row="2" Grid.Column="1" HorizontalAlignment="Right" Content="Cancel" IsCancel="True" />
  </Grid>
</Window>
